$(function() {
	window.setTimeout(hello, 1000);
	$(".indexIcon").click(backIndex);
});

function hello() {
	var mydate = new Date();
	var t = mydate.toLocaleString();
	var year = mydate.getFullYear();
	var month = mydate.getMonth() + 1;
	var day = mydate.getDate();
	var hour = mydate.getHours();
	var min = mydate.getMinutes();
	var second = mydate.getSeconds();
	$(".titleTime span").text(year + "年" + month + "月" + day + "日" + hour + "点" + min + "分" + second + "秒");
	window.setTimeout(hello, 1000);
}

function backIndex() {
	window.parent.document.location = "Index.html";
}
